<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <title>
        Test
    </title>
    <script src="../js/jquery.js" type="text/javascript"></script>
    <script src="../js/gestalt.js" type="text/javascript"></script>
</head>
<body>
<script language="python" >
print "hello" # intereting that this doesn't fail

a = 0
while a < 10: #while
    a = a + 1
    me.canvas.Width = me.canvas.Width - 10

months = ('January',
'February')

ages = {}
ages['Hans'] = 46
ages['Roxane'] = 14
ages['Alex'] = 9

keys = ages.keys()
keys.sort()

for value in keys:
    window.Alert (value)

if ages.has_key('Candice'): #broken
    me.tb.Text = ages['Hans'].ToString() # converts int to a string
    window.Alert (ages['Hans'].ToString())# converts int to a string

if a == 10: #conditional
    window.Alert (months[1])
    
me.canvas.Background = SolidColorBrush(Colors.Green)
</script>

<xml id="TODO" class="xaml" width="400" height="200">
        <Canvas x:Name="canvas" Width="400" Height="200">
            <Canvas.Background>
                  <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FF000000" Offset="0"></GradientStop>
                        <GradientStop Color="#FF60F9FA" Offset=".5" ></GradientStop>
                        <GradientStop Color="#FF000000" Offset="1"></GradientStop>
                  </LinearGradientBrush>
            </Canvas.Background>

            <TextBlock x:Name="tb" FontFamily="Arial" Foreground="Purple" FontSize="50" Canvas.Left="40" Canvas.Top="70">
                  Hello, World!
            </TextBlock>
      </Canvas>
    </xml>
    
</body>
</html>
    